package org.su.webadapter.bind;

import org.apache.commons.lang.StringUtils;


public class BooleanEditor extends AbstractParameterEditor {

	@Override
	public Object parseText(String text) {
		Object result = Boolean.FALSE;
		if (StringUtils.isNotBlank(text)) {
			result = Boolean.valueOf(text);
		}
		return result;
	}

}
